import java.util.Scanner;

public class Example1 {
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入三个数，每次换行结束");
		int n1 = sc.nextInt();
		int n2 = sc.nextInt();
		int n3 = sc.nextInt();
		sc.close();
		int temp;
		if(n1>n2) {
			temp = n1;
		}else {
			temp = n2;
		}
		if(temp>n3) {
			System.out.println("最大的数字是"+temp);
		}else {
			System.out.println("最大的数字是"+n3);
		}
	}
}
